import requests

proxies = {
    "http": "http://d2231274096:ela9v3e9@58.19.54.133:11833",
    "https": "http://d2231274096:ela9v3e9@58.19.54.133:11833",
}

try:
    response = requests.get("http://httpbin.org/ip", proxies=proxies, timeout=10)
    print("代理IP:", response.text)
except Exception as e:
    print("代理测试失败:", e)
